package cn.tedu.demo6;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("prototype")//实例模式，生成多例
//@Scope("singleton")//实例模式，生成单例，默认为单例模式
public class Person {
}
